package com.example.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.pojo.entity.Team;

import java.util.List;

public interface TeamService extends IService<Team> {
    Page<Team> selectPage(String name, String projectName, String order, Integer pageNum, Integer pageSize);

    Team selectById(Integer id);

    void deleteBatch(List<Integer> ids);

    void deleteById(Integer id);

    void add(Team team);

    Team selectByTeamName(String teamName);

    List<Integer> selectUserById(Integer id);

    void deleteUser(Integer id, Integer teamId);
}
